package edu.xhu.model.video.pojos;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.RequiredArgsConstructor;
import lombok.experimental.Accessors;
import org.springframework.context.annotation.Configuration;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
@EqualsAndHashCode(callSuper = false)
@Accessors(chain = true)
@Configuration
@RequiredArgsConstructor
@TableName("bili_video_data")
@ApiModel(value = "BiliVideoData对象", description = "bili视频数据表")
public class BiliVideoUploadData implements Serializable {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty(value = "视频标题")
    private String videoTiele;

    @ApiModelProperty(value = "视频作者")
    private String author;

    @ApiModelProperty(value = "播放数")
    private Long play;

    @ApiModelProperty(value = "弹幕数")
    private Long danmu;

    @ApiModelProperty(value = "点赞数")
    private Long likes;

    @ApiModelProperty(value = "投币数")
    private Long coin;

    @ApiModelProperty(value = "收藏数")
    private Long collect;

    @ApiModelProperty(value = "分享数")
    private Long shares;

    @ApiModelProperty(value = "评论数")
    private Long comments;

    @ApiModelProperty(value = "视频标签")
    private String videoSign;

    @ApiModelProperty(value = "记录更新时间")
    private LocalDateTime updateTime;

    @ApiModelProperty(value = "子分区")
    private String subChannel;

    @ApiModelProperty(value = "主分区")
    private String mainChannel;

    @ApiModelProperty(value = "描述")
    private String describation;

    @ApiModelProperty(value = "视频时间")
    private Long time;

}